Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ddl: skip write binlog when ddl type is update tiflash replica status #16049

Merged
merged 3 commits into from
Apr 3, 2020

Conversation

crazycs520
Copy link
Contributor

Signed-off-by: crazycs520 [email protected]

What problem does this PR solve?

As title said.

Related PR: pingcap/tidb-binlog#941

What is changed and how it works?

Update TiFlash replica is a TiDB internal DDL, It's used to update the table's TiFlash replica available status, and It should not write the binlog.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Manual test (add detailed scripts or steps below)

Side effects

Release note

  • No.

@crazycs520 crazycs520 added the sig/sql-infra SIG: SQL Infra label Apr 3, 2020
@crazycs520
Copy link
Contributor Author

@july2993 @GregoryIan @zimulala PTAL

@codecov
Copy link

codecov bot commented Apr 3, 2020

Codecov Report

Merging #16049 into master will not change coverage by %.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #16049   +/-   ##
===========================================
  Coverage   80.4843%   80.4843%           
===========================================
  Files           506        506           
  Lines        135486     135486           
===========================================
  Hits         109045     109045           
  Misses        17946      17946           
  Partials       8495       8495           

Copy link
Contributor

@IANTHEREAL IANTHEREAL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zimulala zimulala added the status/can-merge Indicates a PR has been approved by a committer. label Apr 3, 2020
@crazycs520
Copy link
Contributor Author

/run-all-tests

1 similar comment
@crazycs520
Copy link
Contributor Author

/run-all-tests

@crazycs520
Copy link
Contributor Author

/run-cherry-picker

@sre-bot
Copy link
Contributor

sre-bot commented Apr 7, 2020

cherry pick to release-3.1 in PR #16111

@sre-bot
Copy link
Contributor

sre-bot commented Apr 7, 2020

cherry pick to release-4.0 in PR #16112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/sql-infra SIG: SQL Infra status/can-merge Indicates a PR has been approved by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants